import 'package:freezed_annotation/freezed_annotation.dart';

import 'prize_list.dart';

part 'sign_in_exchange_integral_prize_model.freezed.dart';
part 'sign_in_exchange_integral_prize_model.g.dart';

@freezed
class SignInExchangeIntegralPrizeModel with _$SignInExchangeIntegralPrizeModel {
  factory SignInExchangeIntegralPrizeModel({
    int? integral,
    List<PrizeList>? prizeList,
  }) = _SignInExchangeIntegralPrizeModel;

  factory SignInExchangeIntegralPrizeModel.fromJson(
          Map<String, dynamic> json) =>
      _$SignInExchangeIntegralPrizeModelFromJson(json);
}
